 <div data-role="page">
	<div data-role="header" data-position="inline" data-theme="c" class="ui-header ui-bar-c" role="banner">
			<a href="/home.php" data-icon="home" iconpos="notext" class="ui-btn-left ui-btn ui-btn-up-c ui-btn-icon-left ui-btn-corner-all ui-shadow" data-theme="c"><span class="ui-btn-inner ui-btn-corner-all" aria-hidden="true"><span class="ui-btn-text">返回主页</span><span class="ui-icon ui-icon-home ui-icon-shadow"></span></span></a>
			<h1 class="ui-title" tabindex="0" role="heading" aria-level="1">添加记录</h1>
			<a href="/user/ss.php?ac=ss&page=1" data-icon="arrow-r" data-iconpos="right" data-theme="b" class="ui-btn-right ui-btn ui-btn-up-b ui-btn-icon-right ui-btn-corner-all ui-shadow"><span class="ui-btn-inner ui-btn-corner-all" aria-hidden="true"><span class="ui-btn-text">查看记录</span><span class="ui-icon ui-icon-arrow-r ui-icon-shadow"></span></span></a>
	
	
	</div><!-- /header -->

	<div data-role="content">
	<script>
		$(document).ready(function(){
			$("#formadd").validate();
		});
	</script>
	<form method="POST" action="/user/ino.php" name="in" id="formadd" data-ajax="false">
		<div data-role="fieldcontain">
			<label for="item">消费项目:</label>
			<input id="item" type="text"  name="spendname" class="required">
		</div>
		<div data-role="fieldcontain">
			<label for="spendcost">金额:</label>
			<input id="spendcost" type="text" name="spendcost" class="required" >
		</div>
  
		<div data-role="fieldcontain">
			<fieldset data-role="controlgroup">
				<legend>类别:</legend>
					<input type="radio" name="spendopt" id="radio-choice-1" value="吃饭" checked="checked" />
					<label for="radio-choice-1">吃饭</label>
					<input type="radio" name="spendopt" id="radio-choice-2" value="学习"  />
					<label for="radio-choice-2">学习</label>
					<input type="radio" name="spendopt" id="radio-choice-3" value="房租"  />
					<label for="radio-choice-3">房租</label>
					<input type="radio" name="spendopt" id="radio-choice-4" value="喝水饮料"  />
					<label for="radio-choice-4">喝水饮料水果</label>
					<input type="radio" name="spendopt" id="radio-choice-5" value="电话费"  />
					<label for="radio-choice-5">电话费</label>
					<input type="radio" name="spendopt" id="radio-choice-6" value="交通费"  />
					<label for="radio-choice-6">交通费</label>
					<input type="radio" name="spendopt" id="radio-choice-7" value="穿衣打扮"  />
					<label for="radio-choice-7">穿衣打扮</label>
					<input type="radio" name="spendopt" id="radio-choice-8" value="香烟"  />
					<label for="radio-choice-8">香烟</label>
					<input type="radio" name="spendopt" id="radio-choice-9" value="其他"  />
					<label for="radio-choice-9">其他</label>
			</fieldset>
		</div>
		<div data-role="fieldcontain">
			<label for="spendsay">备注:</label>
			<textarea cols="40" rows="8" name="spendsay" id="spendsay" placeholder="选择其他分类时,请务必写明消费内容!"></textarea>
		</div>
		
		<div data-role="fieldcontain">
			<label for="spendtime">消费日期：</label>
			<input name="spendtime" id="spendtime" type="date"  class="required" data-role="datebox" data-options='{"mode": "datebox"}'>
		</div>
		<input type="hidden" name="spend" value="spend">
		<div class="ui-body ui-body-b">
			<fieldset class="ui-grid-a">
					<div class="ui-block-b"><button type="submit" data-theme="a">Submit</button></div>
			</fieldset>
		</div>

	</form>	
	</div><!-- /content -->
	<div data-role="footer">
		<h1>我爱宝宝@香柱元</h1>
	</div>
	
</div><!-- /page -->

